package com.zjitc.model;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/20 15:34
 * @description:
 */

public  class Country {
    private String code;
    private String name;
    private String region;
    private Float surfaceArea;
    private Integer indepYear;
    private Integer population;
    private Float lifeExpectancy;
    private Float gnp;
    private String headOfState;
    private Integer capital;
    private String code2;

    @Override
    public String toString() {
      return "Country{" +
          "code='" + code + '\'' +
          ", name='" + name + '\'' +
          ", region='" + region + '\'' +
          ", surfaceArea=" + surfaceArea +
          ", indepYear=" + indepYear +
          ", population=" + population +
          ", lifeExpectancy=" + lifeExpectancy +
          ", gnp=" + gnp +
          ", headOfState='" + headOfState + '\'' +
          ", capital=" + capital +
          ", code2='" + code2 + '\'' +
          '}';
    }

    public String getCode() {
      return code;
    }

    public void setCode(String code) {
      this.code = code;
    }

    public String getName() {
      return name;
    }

    public void setName(String name) {
      this.name = name;
    }

    public String getRegion() {
      return region;
    }

    public void setRegion(String region) {
      this.region = region;
    }

    public Float getSurfaceArea() {
      return surfaceArea;
    }

    public void setSurfaceArea(Float surfaceArea) {
      this.surfaceArea = surfaceArea;
    }

    public Integer getIndepYear() {
      return indepYear;
    }

    public void setIndepYear(Integer indepYear) {
      this.indepYear = indepYear;
    }

    public Integer getPopulation() {
      return population;
    }

    public void setPopulation(Integer population) {
      this.population = population;
    }

    public Float getLifeExpectancy() {
      return lifeExpectancy;
    }

    public void setLifeExpectancy(Float lifeExpectancy) {
      this.lifeExpectancy = lifeExpectancy;
    }

    public Float getGnp() {
      return gnp;
    }

    public void setGnp(Float gnp) {
      this.gnp = gnp;
    }

    public String getHeadOfState() {
      return headOfState;
    }

    public void setHeadOfState(String headOfState) {
      this.headOfState = headOfState;
    }

    public Integer getCapital() {
      return capital;
    }

    public void setCapital(Integer capital) {
      this.capital = capital;
    }

    public String getCode2() {
      return code2;
    }

    public void setCode2(String code2) {
      this.code2 = code2;
    }

    public Country() {
    }

    public Country(String code, String name, String region, Float surfaceArea,
        Integer indepYear, Integer population, Float lifeExpectancy, Float gnp,
        String headOfState, Integer capital, String code2) {

      this.code = code;
      this.name = name;
      this.region = region;
      this.surfaceArea = surfaceArea;
      this.indepYear = indepYear;
      this.population = population;
      this.lifeExpectancy = lifeExpectancy;
      this.gnp = gnp;
      this.headOfState = headOfState;
      this.capital = capital;
      this.code2 = code2;
    }
  }